<template>
  <div class="carousel-container" style="text-align:center;">
    <mt-swipe :auto="3000">
      <mt-swipe-item v-for="item in homecarouselimg" :key="item.id">
        <img :src="item.path" alt />
      </mt-swipe-item>
    </mt-swipe>
  </div>
</template>

<script>
export default {
  props: ["homecarouselimg"]
};
</script>

<style lang="scss" scoped>
.mint-swipe {
  overflow: hidden;
  position: relative;
  height: 512px;
  width: 100%;
  .mint-swipe-item {
    img {
      width: 100%;
      height: 512px;
    }
    width: 100%;
    height: 512px;
  }
}
</style>
